package com.xiaojie.core;

import javax.servlet.ServletContainerInitializer;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import java.util.Set;
import javax.servlet.ServletContainerInitializer;

/**
 * @ClassName MySpringServletContainerInitializer
 * @Author 廖杰
 * @Date 2021/6/15 22:41
 **/
public class MySpringServletContainerInitializer implements ServletContainerInitializer {
    @Override
    public void onStartup(Set<Class<?>> set, ServletContext servletContext) throws ServletException {
        new MyWebApplicationInitializer().onStartup(servletContext);
    }
}
